/** 公共接口 **/
import { base_uri } from '../request.config';

const commonApi = {
    noticeList: 'msg/list', // 公告列表
    noticeCreate: 'msg/add', // 公告新增
    noticeDelete: 'msg/delete', // 公告删除
};

const common: any = Object.keys(commonApi)
    .reduce((origin, item) => {
        origin[item] = `${base_uri}/${commonApi[item]}`;
        return origin;
    }, {})

export default common;
